package com.p2p.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.p2p.model.entity.Account;
import com.p2p.system.mapper.AccountMapper;
import com.p2p.system.service.AccountService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 罗永东
 * @since 2023-12-09
 */
@Service
public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> implements AccountService {

    @Override
    public IPage<Account> selectPage(IPage<Account> iPage) {
        return this.baseMapper.selectPage(iPage);
    }

    @Override
    public Account selectAccountByIdAndName(Long id) {

        return this.baseMapper.selectAccountByIdAndName(id);
    }
}
